The implementations provided so far are shown in the table below. Also listed is the artifactId of the JAR that provides the implementation. To execute your tests against a container, you must include the artifactId that corresponds to that container on the classpath. Use the following Maven profile definition as a template to add support for a container to your Maven build, replacing %artifactId% with the artifactId from the table. You then activate the profile when executing the tests just as you did in the Getting started chapter.
<profile>
<id>%artifactId%</id>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>%artifactId%</artifactId>
<version>${arquillian.version}</version>
</dependency>
</dependencies>
</profile>
|
Container name
|
Container type
|
Spec compliance
|
artifactId
|
|
JBoss AS 5
|
remote
|
Java EE 5
|
arquillian-jbossas-remote-5
|
|
JBoss AS 5.1
|
remote
|
Java EE 5
|
arquillian-jbossas-remote-5.1
|
|
JBoss AS 5.1
|
managed
|
Java EE 5
|
arquillian-jbossas-managed-5.1
|
|
JBoss AS 6.0
|
remote
|
Java EE 6
|
arquillian-jbossas-remote-6
|
|
JBoss AS 6.0
|
managed
|
Java EE 6
|
arquillian-jbossas-managed-6
|
|
JBoss AS 6.0
|
embedded
|
Java EE 6
|
arquillian-jbossas-embedded-6
|
|
JBoss Reloaded 1.0
|
embedded
|
JBoss MC
|
arquillian-reloaded-embedded-1
|
|
GlassFish 3.1
|
remote
|
Java EE 6
|
arquillian-glassfish-remote-3.1
|
|
GlassFish 3.1
|
embedded
|
Java EE 6
|
arquillian-glassfish-embedded-3.1
|
|
GlassFish 3.1
|
managed
|
Java EE 6
|
arquillian-glassfish-managed-3.1
|
|
Tomcat 5.5
|
managed
|
Servlet 2.5
|
arquillian-tomcat-managed-5.5
|
|
Tomcat 6.0
|
remote
|
Servlet 2.5
|
arquillian-tomcat-remote-6
|
|
Tomcat 6.0
|
managed
|
Servlet 2.5
|
arquillian-tomcat-managed-6
|
|
Tomcat 6.0
|
embedded
|
Servlet 2.5
|
arquillian-tomcat-embedded-6
|
|
Tomcat 7.0
|
embedded
|
Servlet 3.0
|
arquillian-tomcat-embedded-7
|
|
Tomcat 7.0
|
managed
|
Servlet 3.0
|
arquillian-tomcat-managed-7
|
|
Jetty 6.1
|
embedded
|
Servlet 2.5
|
arquillian-jetty-embedded-6.1
|
|
Jetty 7.0
|
embedded
|
Servlet ~3.0
|
arquillian-jetty-embedded-7
|
|
Weld SE 1.0
|
embedded
|
CDI
|
arquillian-weld-se-embedded-1
|
|
Weld SE 1.1
|
embedded
|
CDI
|
arquillian-weld-se-embedded-1.1
|
|
Weld EE 1.1
|
embedded
|
CDI
|
arquillian-weld-ee-embedded-1.1
|
|
Apache OpenWebBeans 1.0
|
embedded
|
CDI
|
arquillian-openwebbeans-embedded-1
|
|
Apache OpenEJB 3.1
|
embedded
|
EJB 3.0
|
arquillian-openejb-embedded-3.1
|
|
Oracle WebLogic Server 10.3
|
remote
|
Java EE 5
|
arquillian-wls-remote-10.3
|
|
Oracle WebLogic Server 12.1
|
remote
|
Java EE 6
|
arquillian-wls-remote-12.1
|
|
IBM WebSphere 7
|
remote
|
Java EE 5
|
arquillian-was-remote-7
|
|
IBM WebSphere 8
|
remote
|
Java EE 6
|
arquillian-was-remote-8
|
|
IBM WebSphere 8
|
embedded
|
Java EE 6\ EJB
|
arquillian-was-embedded-8
|
Target containers supported by Arquillian
For JBoss AS 7, Arquillian container artifacts are distributed with AS7 itself, so correct coordinates are shown below.
<profile>
<id>%artifactId%</id>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>%artifactId%</artifactId>
<version>7.0.0.Final</version>
</dependency>
</dependencies>
</profile>
|
Container name
|
Container type
|
Spec compliance
|
artifactId
|
|
JBoss AS 7
|
remote
|
Java EE 6
|
jboss-as-arquillian-container-remote
|
|
JBoss AS 7
|
managed
|
Java EE 6
|
jboss-as-arquillian-container-managed
|
JBoss AS 7 container in Arquillian
Support for other containers is planned, including JBoss AS7 in domain mode, and Hibernate.